<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_webroot('skin/css/admin.css'); ?>">
<link rel="stylesheet" type="text/css" href="<?php echo $this->_webroot('skin/css/main.css'); ?>">

<script language="JavaScript" src="<?php echo $this->_webroot('skin/js/jy.js'); ?>"></script>
<style>
td span {color:red;}
.green {color:green;}
.red {color:red;}
</style>
</head>
<body>
<input type="hidden" id="update_right" value="0" ></input>
<div id="maincontent">
<psp:tags     htmlname='messagebox'  iconname='messagebox' />
	<div class="wrap">
    <div class="crumbs">当前位置 &gt;&gt; 系统设置 &gt;&gt; 数据库备份</div>
        <hr />

	
		
	<div class="infobox">
    <h3><span class="left">数据库备份</span></h3>
    <div class="content2">

	  <form action="<?php echo $this->_url('admin/database/save/');?>?operation=savebackup&start=<?php echo $start;?>&step=<?php echo $step;?>" method="post">
	    <TABLE class="list_table" >
		<thead>
          <tr style="text-align: center;">
	        <th width="50px">选择</th>
	        <th width="100px">ID</th>
	        <th width="" align="left">数据库表</th>
	        <th width="" align="left">数据量</th>
	        <th width="165px">最后修改时间</th>
	      </tr>
	      </thead>
	      <?php
	      foreach($row as $n=>$table){
	      	if($table[0]!=""){
	      ?>
	      <tbody>
	      <tr style="text-align:center;">
	        <td width="50px"><input type="checkbox" class="checkbox" name="tabledb[]" value="<?php echo $table[0];?>" /></td>
	        <td width="100px"><?php echo $n+1;?></td>
	        <td align="left"><?php echo $table[0];?></td>
	        <td align="left"><?php echo $table[4];?>条</td>
	        <td width="165px"><?php echo $table['Update_time'];?></td>
	      </tr>
	      <?php
	      	}
	      }
	      ?>
	      <tr class="nobg">
	        <td align="center"><input type="checkbox" name="chkall" id="chkall" class="checkbox" onclick="checkall(this,'tabledb[]')" /></td>
	        <td colspan="2">分卷大小：<input type="text" class="small-text" name="sizelimit" value="1024" size="8"/>kb
	          <div class="fixsel"><span class="button-container"><input class="regular-button" type="submit" class="btn" name="forumlinksubmit" value="备份"  /></span> </div></td>
	      </tr>
	      </tbody>
	    </table>
	  </form>	
	
	
	
	
	
	
	  </div>
	 </div>
	</div>
</div>

</body>
</html>